﻿<avalondock:DocumentContent x:Class="BOL.Apps.GeneNetworkBrowser.Controls.StartDocument"
             xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
             xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
             xmlns:avalondock="clr-namespace:AvalonDock;assembly=AvalonDock"
             Title="{Binding Path=FileName}"
             >
    <DockPanel>
        <FlowDocumentScrollViewer Name="DocumentScrollViewer">
            <FlowDocument>
                <FlowDocument.Resources>
                    <Style TargetType="FlowDocument">
                        <Setter Property="Background" Value="#FFFFFFFF" /> 
                    </Style>
                    <Style TargetType="Paragraph">
                        <Setter Property="FontSize" Value="10" />
                    </Style>

                    <Style TargetType="Paragraph" x:Key="Title">
                        <Setter Property="FontSize" Value="36" />
                        <Setter Property="Margin" Value="0,0,0,10" />
                        <Setter Property="BorderThickness" Value="1" />
                        <Setter Property="TextAlignment" Value="Left" />
                    </Style>

                    <Style TargetType="Paragraph" x:Key="H1">
                        <Setter Property="FontSize" Value="20" />
                        <Setter Property="Margin" Value="0,0,0,10" />
                    </Style>
                    <Style TargetType="Paragraph" x:Key="Copyright">
                        <Setter Property="FontSize" Value="12" />
                        <Setter Property="TextAlignment" Value="Right" />
                    </Style>
                    <Style TargetType="ListItem">
                        <Style.Resources>
                            <Style TargetType="Paragraph">
                                <Setter Property="Margin" Value="0,0,0,1" />
                            </Style>
                        </Style.Resources>
                    </Style>
                </FlowDocument.Resources>
                
                <Section Name="Header">
                    <Paragraph Style="{StaticResource Title}">Gene Network Browser</Paragraph>
                </Section>

                <BlockUIContainer>
                    <StackPanel>
                        <Menu Background="#FFFFFFFF">
                            <Menu.ItemsPanel>
                                <ItemsPanelTemplate>
                                    <VirtualizingStackPanel Orientation="Vertical"/>
                                </ItemsPanelTemplate>
                            </Menu.ItemsPanel>

                            <MenuItem Header="New Project..." />
                            <MenuItem Header="Open Project..." />
                        </Menu>
                    </StackPanel>
                </BlockUIContainer>

                <Section Name="RecentFiles" Background="#FFF5F5F5" Padding="1">
                    <List>
                        <ListItem>
                            <Paragraph></Paragraph>
                        </ListItem>
                    </List>
                </Section>
                
            </FlowDocument>
        </FlowDocumentScrollViewer>
    </DockPanel>
</avalondock:DocumentContent>
